package cn.sgzy.ssm.service;

import java.util.List;

import cn.sgzy.ssm.dao.UserDao;
import cn.sgzy.ssm.vo.User;



public class UserService {
	
	 UserDao userDao;
	
	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}
		
	public List<User> findAll(){
		return userDao.selectAll();
	}

}
